package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.SupplementarySignatureFrequency;
import com.sc.nft.entity.vo.SupplementarySignatureVO;
import com.sc.nft.mapper.SupplementarySignatureFrequencyMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

import java.util.List;

@Slf4j
@Repository
public class SupplementarySignatureFrequencyDao extends ServiceImpl<SupplementarySignatureFrequencyMapper, SupplementarySignatureFrequency> {

    /**
     * 根据活动Id获取补签配置内容
     * @param activityBasicsId
     * @return
     */
    public List<SupplementarySignatureVO> getByActivityBasicsId(Long activityBasicsId) {
        return baseMapper.getByActivityBasicsId(activityBasicsId);
    }
}
